package com.javaweb.aop.test;

import com.javaweb.aop.NPECatch;
import org.springframework.stereotype.Component;

import java.io.File;


@Component
public class TriggerNPECatch {

    @NPECatch
    public void triggerNpECatch(){
        File f= null;
        System.out.println(f.getName());
    }
}
